var PuzzlePiece = function(index, col, row, x, y, width, height, imageData) 
{
	// Private variables
	
	var width = width;
	var height = height; 
	
	var imageData = imageData;	
	
	// Public variables
	
	this.index = index;
	
	this.col = col;
	this.row = row;
	
	this.x = x;
	this.y = y;
	
	this.shouldUpdate = true;
	
	// Public methods that access private members
	
	this.getWidth = function()
	{
		return width;
	};
	
	this.getHeight = function()
	{
		return height;
	};
	
	this.getImageData = function()
	{
		return imageData;
	};
};